package com.summer.user.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 职位
 * @author Summer
 * @Date 2017年5月1日
 * @Description 呵呵哒
 */
@Entity
@Table(name = "positions")
public class Positions implements Serializable {

	private static final long serialVersionUID = -3887871004096574766L;

	private String id;
	private String name;
	private String desc;

	@Id
	@Column(name = "id" , nullable = false , unique = true)
	public String getId() {
		return id;
	}

	@Column(name = "name")
	public String getName() {
		return name;
	}

	@Column(name = "desc")
	public String getDesc() {
		return desc;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

}
